package com.tedu.goods.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class GoodsQuery {
    @ApiModelProperty(value = "商品id")
    private Integer id;
    @ApiModelProperty(value = "商品名称")
    private String name;
    @ApiModelProperty(value = "商品编码")
    private Integer code;
    @ApiModelProperty(value = "商品状态")
    private String status;
    @ApiModelProperty(value = "商品类型")
    private String type;
    @ApiModelProperty(value = "商品修改时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
}
